import { defineStore } from 'pinia'


export const userStore = defineStore('userStore', {
  state: () => {
    return {
      account: '',
      nickName: '',
      token: '',
    }
  },
  actions: {
    setUserAccount(newAccount: string) {
      this.account = newAccount
    }
  }
})